package com.xyb.client;

import com.xyb.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @FeignClient("") 从哪个子服务调用
 */
@FeignClient("base-sms")
public interface SmsRegClient {

    @GetMapping("/register/code/{iphoneNo}/{code}")
    public Result selectRegisterCodeByIphoneNo(@PathVariable("iphoneNo") String iphoneNo, @PathVariable("code") Integer code);
}
